package com.server.mould.business;

import com.project.annotation.model.base.IdResult;
import com.project.annotation.model.base.PageResult;
import com.project.annotation.model.base.ResultBase;
import com.project.annotation.model.base.VoidResult;
import com.server.mould.business.base.BaseCtrlInterface;
import com.server.mould.domain.reqeust.*;
import com.server.mould.domain.reqeust.base.PageBaseRequest;
import com.server.mould.domain.result.*;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import java.util.List;

@RequestMapping("/loginsetting_svr")
public interface LoginSettingCtrlInterface extends BaseCtrlInterface<LoginSettingRequest, LoginSettingResult> {

    @PostMapping("/Search")
    ResultBase<List<LoginSettingResult>> Search(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/SearchPage")
    ResultBase<PageResult<LoginSettingResult>> SearchPage(@RequestBody PageBaseRequest<LoginSettingRequest> item) throws Exception;

    @PostMapping("/Edit")
    ResultBase<Integer> Edit(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/Add")
    ResultBase<Integer> Add(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/Create")
    ResultBase<IdResult> Create(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/Delete")
    ResultBase<Integer> Delete(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/Change")
    ResultBase<VoidResult> Change(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/SearchInner")
    ResultBase<List<LoginSettingResult>> SearchInner(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/SearchPageInner")
    ResultBase<PageResult<LoginSettingResult>> SearchPageInner(@RequestBody PageBaseRequest<LoginSettingRequest> item) throws Exception;

    @PostMapping("/EditInner")
    ResultBase<Integer> EditInner(@RequestBody LoginSettingRequest item) throws Exception;

    @PostMapping("/DeleteInner")
    ResultBase<VoidResult> DeleteInner(@RequestBody LoginSettingRequest item) throws Exception;

}